package com.c1202m.hibernate.entities;

import java.util.HashSet;
import java.util.Set;

public class TaiKhoan implements java.io.Serializable {

    private String soTK;
    private String maPin;
    private String chuTK;
    private String soCMND;
    private String diaChi;
    private String dienThoai;
    private String email;
    private double soDuTK;
    private boolean trangThai = true;
    private Set<GuiTien> guiTien = new HashSet<GuiTien>(0);
    private Set<RutTien> rutTien = new HashSet<RutTien>(0);
    private Set<ChuyenKhoan> chuyenKhoan = new HashSet<ChuyenKhoan>(0);

    public TaiKhoan() {
    }

    public TaiKhoan(String soTK, String maPin) {
        this.soTK = soTK;
        this.maPin = maPin;
    }

    public TaiKhoan(String soTK, String maPin, String chuTK, String soCMND, String diaChi, String dienThoai, String email, double soDuTK, boolean trangThai) {
        this.soTK = soTK;
        this.maPin = maPin;
        this.chuTK = chuTK;
        this.soCMND = soCMND;
        this.diaChi = diaChi;
        this.dienThoai = dienThoai;
        this.email = email;
        this.soDuTK = soDuTK;
        this.trangThai = trangThai;
    }

    public TaiKhoan(String soTK, String maPin, String chuTK, String soCMND, String diaChi, String dienThoai, String email, double soDuTK, boolean trangThai, Set<GuiTien> guiTien, Set<RutTien> rutTien, Set<ChuyenKhoan> chuyenKhoan) {
        this.soTK = soTK;
        this.maPin = maPin;
        this.chuTK = chuTK;
        this.soCMND = soCMND;
        this.diaChi = diaChi;
        this.dienThoai = dienThoai;
        this.email = email;
        this.soDuTK = soDuTK;
        this.trangThai = trangThai;
        this.guiTien = guiTien;
        this.rutTien = rutTien;
        this.chuyenKhoan = chuyenKhoan;
    }

    public String getSoTK() {
        return soTK;
    }

    public void setSoTK(String soTK) {
        this.soTK = soTK;
    }

    public String getMaPin() {
        return maPin;
    }

    public void setMaPin(String maPin) {
        this.maPin = maPin;
    }

    public String getChuTK() {
        return chuTK;
    }

    public void setChuTK(String chuTK) {
        this.chuTK = chuTK;
    }

    public String getSoCMND() {
        return soCMND;
    }

    public void setSoCMND(String soCMND) {
        this.soCMND = soCMND;
    }

    public String getDiaChi() {
        return diaChi;
    }

    public void setDiaChi(String diaChi) {
        this.diaChi = diaChi;
    }

    public String getDienThoai() {
        return dienThoai;
    }

    public void setDienThoai(String dienThoai) {
        this.dienThoai = dienThoai;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public double getSoDuTK() {
        return soDuTK;
    }

    public void setSoDuTK(double soDuTK) {
        this.soDuTK = soDuTK;
    }

    public Boolean getTrangThai() {
        return this.trangThai;
    }

    public void setTrangThai(Boolean trangThai) {
        this.trangThai = trangThai;
    }

    public Set<GuiTien> getGuiTien() {
        return guiTien;
    }

    public void setGuiTien(Set<GuiTien> guiTien) {
        this.guiTien = guiTien;
    }

    public Set<RutTien> getRutTien() {
        return rutTien;
    }

    public void setRutTien(Set<RutTien> rutTien) {
        this.rutTien = rutTien;
    }

    public Set<ChuyenKhoan> getChuyenKhoan() {
        return chuyenKhoan;
    }

    public void setChuyenKhoan(Set<ChuyenKhoan> chuyenKhoan) {
        this.chuyenKhoan = chuyenKhoan;
    }
}
